package com.kfm.base.oop2;

public class Person {

    // 字段时推荐使用 包装类
    private String name;

    private Integer age;

    public void setName(String name){
        this.name = name;
    }

    public String getName(){
        return this.name;
    }

    public void setAge(int age){
        this.age = age;
    }

    public int getAge(){
        return age;
    }

}
